const { contextBridge, ipcRenderer  } = require("electron");

contextBridge.exposeInMainWorld("$chatClient", {
    chat: (question) => {
        return ipcRenderer.invoke("chat" ,question );
    }
});
